<template>
  <el-table  :data="actUserList">
    <el-table-column label="学生姓名" align="center" prop="userName" />
    <el-table-column label="活动名称" align="center" prop="actName" />
    <el-table-column label="活动得分" align="center" prop="activityScore" />
    <el-table-column label="活动结果" align="center" prop="activityResult" />
    <el-table-column label="活动状态" align="center" prop="actState">
    <template slot-scope="scope">
      <el-tag type="success" v-if="scope.row.actState ==1">进行中</el-tag>
      <el-tag type="success" v-if="scope.row.actState ==2">已结束</el-tag>
    </template>
    </el-table-column>
    <el-table-column label="开始时间" align="center" prop="startTime" width="180"/>
    <el-table-column label="结束时间" align="center" prop="endTime" width="180"/>

  </el-table>
</template>

<script>
    export default {
      name: "actUsers",
      props: {
        actUserList: {
          type:Array
        }
      },
    }
</script>

<style scoped>

</style>
